package com.itcast.tanhua.dubbo.server.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @PachageName: com.itcast.tanhua.dubbo.server.domain
 * @ClassName: Users
 * @Description: 好友表
 * @Author: Hushi
 * @DateTime: 2021/2/1711:09
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "tanhua_users")
public class Users implements Serializable {
    private static final long serialVersionUID = 6003135946820874230L;
    private ObjectId id;
    private Long userId; //用户id
    private Long friendId; //好友id
    private Long date; //时间
}
